/*
 * Copyright (c) 2013 WDCY Information Technology Co. Ltd
 * www.wdcy.cc
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of
 * WDCY Information Technology Co. Ltd ("Confidential Information").
 * You shall not disclose such Confidential Information and shall use
 * it only in accordance with the terms of the license agreement you
 * entered into with WDCY Information Technology Co. Ltd.
 */
package com.monkey.web.dto.response.organization;


import com.monkey.core.domain.organization.OrganizationType;

/**
 * @author Wu Tianqiang
 */
//public class OrganizationJSONDto extends ExtTreeJSONDto<Organization, Long> {
public class OrganizationJSONDto {

    private OrganizationType type = OrganizationType.BRANCH_OFFICE;

    public OrganizationJSONDto() {
    }

    public OrganizationType getType() {
        return type;
    }

    public void setType(OrganizationType type) {
        this.type = type;
    }

//    @Override
//    protected Long loadId(Organization organization) {
//        return organization.getId();
//    }
//
//    @Override
//    protected String loadText(Organization organization) {
//        return organization.getName();
//    }
//
//    @Override
//    protected void initProperties(Organization organization) {
//        this.type = organization.getType();
//    }
}